package com.roncoo.ysq.dao;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.roncoo.ysq.entity.HomeBottompage;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.roncoo.ysq.entity.HomePagecontrol;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author yuanshuaiqiang
 * @since 2021-03-24
 */
public interface HomeBottompageMapper extends BaseMapper<HomeBottompage> {

    IPage<HomeBottompage> findAll(Page page, @Param(Constants.WRAPPER)QueryWrapper<HomeBottompage> queryWrapper);

    int upddateByPid(@Param("hob") HomeBottompage homeBottompage);

    List<HomeBottompage> findByStatus();
}
